#include <iostream>
#include <string>

using namespace std;


struct type
{
    int value;
    int flag;
};



int main()
{
    char str1[] = "hello";
    const char* str2 = "hello";

    cout << "str1 = " << str1[1] << endl;
    cout << "str2 = " << &str2 << endl;

    type* list = new type;
    list->flag = 0;
    list->value = 1;

    cout << list << endl;
    cout << list->flag << endl;
    cout << list->value << endl;

    cout << (*list).flag << endl;
}